package controllers

import "github.com/astaxie/beego"

type Tips struct {
	beego.Controller
}

func (c *Tips) withLayout(folder, pName string) {
	c.Layout = "layout.html"
	c.TplName = folder + "/" + pName + ".html"
}
func (c *Tips) Translate() {
	c.withLayout("tips", "Translate")
}
